package com.qfedu.edu.controller;

import org.qfedu.framwork.service.NetworkService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author xiaobobo
 * @title: TestController
 * @projectName CD-Java-FY-2401-Springboot-Parent
 * @description: TODO
 * @date 2024/9/10  9:44
 */
@RestController
public class TestController {

    @Autowired
    private NetworkService networkService;

    @GetMapping("/testIpAndPort")
    public Object testIpAndPort() {
        networkService.print();
        return "测试完成";
    }

}
